<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta name="generator" content="HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org" />

  <title>Code Assist</title>
  <link href="book.css" rel="stylesheet" type="text/css" />
  <meta content="DocBook XSL-NS Stylesheets V1.73.0" name="generator" />
  <link rel="start" href="index.html" title="EPIC - User's Guide" />
  <link rel="up" href="ch05.html" title="Working with the Perl Editor" />
  <link rel="prev" href="ch05s05.html" title="Quick Reference" />
  <link rel="next" href="ch05s07.html" title="Task Markers" />
</head>

<body>
  <div class="section" lang="en" xml:lang="en">
    <div class="titlepage">
      <div>
        <div>
          <h2 class="title" style="clear: both"><a id="N1051B" name="N1051B"></a>Code Assist</h2>
        </div>
      </div>
    </div>

    <p>Code Assist features try to assist the user during source code editing.</p>

    <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
      <h3 class="title">Note</h3>

      <p>The features currently implemented in EPIC may not be fully functional but will be
      improved in the future.</p>
    </div>

    <div class="section" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h3 class="title"><a id="N10523" name="N10523"></a>Variable Inspection</h3>
          </div>
        </div>
      </div>

      <p>When you press one of the auto completion characters <strong class="userinput"><code>$ @
      %</code></strong>, the editor displays all defined variables in a list. From the list you can
      select the variable that should be inserted in the source code.</p>

      <div class="screenshot">
        <div class="mediaobject" align="center">
          <img src="images/variable_inspection_1.gif" align="middle" alt="Variable Inspection" />
        </div>
      </div>
    </div>

    <div class="section" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h3 class="title"><a id="N10536" name="N10536"></a>Module Inspection</h3>
          </div>
        </div>
      </div>

      <p>The editor tries to display methods available in modules when the auto completion
      characters <strong class="userinput"><code>&gt;</code></strong> or <strong class=
      "userinput"><code>:</code></strong> are entered.</p>

      <div class="screenshot">
        <div class="mediaobject" align="center">
          <img src="images/module_inspection_1.gif" align="middle" alt="Module Inspection" />
        </div>
      </div>

      <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
        <h3 class="title">Note</h3>

        <p>Currently, indirect object invocations are not recognized by code assist. This code
        block will not work:</p>
        <pre class="programlisting">
$smtp = new Net::SMTP;
$smtp-&gt;[no content assist]
</pre>

        <p>This one will work:</p>
        <pre class="programlisting">
$smtp = Net::SMTP-&gt;new();
$smtp-&gt;[content assist]
</pre>
      </div>
    </div>
  </div>
</body>
</html>
